import request from '@/router/axios';

// ### 创建工单
export const saveService = (data) => {
  return request({
    url: '/api/xmbz-work/workAskService/saveService',
    method: 'post',
    data
  })
}

// ### 修改工单
export const updateService = (data) => {
  return request({
    url: '/api/xmbz-work/workAskService/updateService',
    method: 'post',
    data
  })
}

// ### 查询工单
export const workAskServiceList = (query) => {
  return request({
    url: '/api/xmbz-work/workAskService/list',
    method: 'get',
    params: query
  })
}

// ### 查询工单日志
export const workAskLogList = (query) => {
  return request({
    url: '/api/xmbz-work/workAskLog/list',
    method: 'get',
    params: query
  })
}

